<?php ob_start();
include("config/config.php"); 
$query = mysql_query("SELECT * FROM `my_business_url` WHERE `status` = 1 ") or die(mysql_error());

header("Content-type: text/xml"); 

echo "<?xml version='1.0' encoding='UTF-8'?> 
<rss version='2.0'>
<channel>
<title>Welcome to Mycitydial:- Get more Fans, Get more Leads</title>
<link>http://mycitydial.com</link>
<description>Easy way to developer your fanpage and add more friends. get enjoy</description>
<language>en-us</language>"; 

while($row = mysql_fetch_array($query)){
	
echo "<item> 
<title>".get_item('my_page_details','url_id',$row['id'],'page_title')."</title>
<link>http://mycitydial.com/".$row['url']."</link>
<description>".get_item('my_page_details','url_id',$row['id'],'description')."</description>
</item>"; 

} 
echo "</channel></rss>"; 
?>